<%@ page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.facultyresearch-resources"/>
<div id="mainBody">
    <!-- InstanceBeginEditable name="main" -->
  	<div class="title">Research </div>
    <div id="search">
        <div id="searchBox">
            <form method="post" action="search.html">
            <textarea id="searchTerm" name="searchTerm" rows="1"></textarea><button id="goButton">GO</button><button id="advancedSearch">AS</button>
            </form>
        </div>
    </div>
  	<div id="body">
  		<div id="table">
        	<div class="header">
                <div>ID</div>
                <div>Title</div>
                <div>Description</div>
                <div>Status</div>
                <div>Faculty</div>
            </div>
            <c:forEach items="${facultyresearchs}" var="research">
            <div class="row">
            	<div><a href="view.html?id=${ research.facultyResearchId}">${ research.facultyResearchId}</a></div>
                <div>${research.title }</div>
                <div>${research.researchDescription }</div>
                <div>${research.researchStatus }</div>
                <div>${research.faculty.lastName }, ${research.faculty.firstName }</div> 
            </div>
            </c:forEach>
        </div>
    </div>
  </div>